package com.onedec.designer.mapper;

import com.onedec.designer.entity.OnedecProjectDesignMaterials;
import com.onedec.designer.entity.OnedecProjectDesignMaterialsExample;
import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

public interface OnedecProjectDesignMaterialsMapper {
    long countByExample(OnedecProjectDesignMaterialsExample example);

    int deleteByExample(OnedecProjectDesignMaterialsExample example);

    int deleteByPrimaryKey(Integer designId);

    int insert(OnedecProjectDesignMaterials record);

    int insertSelective(OnedecProjectDesignMaterials record);

    List<OnedecProjectDesignMaterials> selectByExample(OnedecProjectDesignMaterialsExample example);

    OnedecProjectDesignMaterials selectByPrimaryKey(Integer designId);

    int updateByExampleSelective(@Param("record") OnedecProjectDesignMaterials record, @Param("example") OnedecProjectDesignMaterialsExample example);

    int updateByExample(@Param("record") OnedecProjectDesignMaterials record, @Param("example") OnedecProjectDesignMaterialsExample example);

    int updateByPrimaryKeySelective(OnedecProjectDesignMaterials record);

    int updateByPrimaryKey(OnedecProjectDesignMaterials record);

    List<Map<String, Object>> selectByMap(Map<String, Object> map);


}